//package com.ptu.spzx.common.config;
//
//import com.ptu.spzx.common.interceptor.UserLoginAuthInterceptor;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
//public class UserWebMvcConfiguration implements WebMvcConfigurer {
//    @Autowired
//    private UserLoginAuthInterceptor userLoginAuthInterceptor;
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(userLoginAuthInterceptor)
//                .addPathPatterns("/api/**");
//    }
//}
